home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 27.zip
/
BS1 part 27
/
Superbase4_d1.adf
/
sbfd.LZH
/
Extra Docs
/
pens.readme
next >
Wrap
Text File
|
1993-06-22
|
2KB
|
43 lines
New Features of SBase4
-------------------------------------------------------------------
1) PEN ARRAYS
-- SECTION 1
PEN ARRAYS
SBase4 now provides a way to specify a custom screen pen-array. A pen
array is a way to specify what color pen to use for various screen features,
such as title bar color, screen text, hilite and shade colors. The way
this is accomplished is through the SBase4.ini file which resides in the
's:' directory. If no pen array is provided in the .ini file, the default
pen array is used.
The '.ini' file line looks like this:
Pens=0,1,1,2,1,3,1,0,1
This example also happens to be the default pen array. The following table
lists the function of each pen in the array.
PEN PEN NAME SHORT DESCRIPTION
======================================================================
PEN 1 == Detail pen == ==
PEN 2 == Block pen == ==
PEN 3 == Text pen == Text on background ==
PEN 4 == Shine pen == Bright edge on 3D objects ==
PEN 5 == Shadow pen == Dark edge on 3D objects ==
PEN 6 == Fill pen == Active window/selected-gadget fill ==
PEN 7 == Fill text pen == Text over Fill pen ==
PEN 8 == Background pen == Always color 0 ==
PEN 9 == Highlight text == Special color text ==
======================================================================
The SBase4 and the forms designer also recognize another .ini parameter.
This parameter is called Shinepen {Not to be confused with the shine pen
in the pen array}. The Shinepen is used as the hilight color for SBase4
buttons. An example Shinepen line in the SBase4.ini file:
Shinepen=2
This example also happens to be the default Shine pen.